package com.jia.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jia.mapper.AuthorityMapper;
import com.jia.pojo.Authority;
import com.jia.service.AuthorityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 贾宇光
 * @version 1.0
 * @date 2020/9/17 9:04
 */
@Service
public class AuthorityServiceImpl extends ServiceImpl<AuthorityMapper, Authority> implements AuthorityService {
    @Autowired
    AuthorityMapper authorityMapper;

    @Override
    public List<Authority> queryAuthorityByUid(int uid) {
        return authorityMapper.queryAuthorityByUid(uid);
    }

}
